﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;
using System.Data;
namespace OgilvyOne.IDAL
{
    public interface DictionaryManageIDAL
    {
        DataSet GetDictionary(string strWhere);
        DictionaryManageModel selectDictionary(int cid);
        int AddDictionary(DictionaryManageModel getDic);
        bool deleteDictionary(int CID);
        bool deleteDictionary(string CID);
        int updateDictionary(DictionaryManageModel updDic);
        
        IList GetDictionary(int upid);
        /// <summary>
        /// 查询是否有子栏目
        /// </summary>
        int selectSon(int cid);

        /// <summary>
        /// 取所有省份下的所有城市
        /// </summary>
        /// <param name="cid"></param>
        /// <returns></returns>
        IList GetAllCity(int cid);
    }
}
